package oa.hleast.xswl.service.oms;

import com.baomidou.mybatisplus.extension.service.IService;
import oa.hleast.xswl.pojo.domain.oms.OmsOrderLog;

/**
 * 订单操作历史记录
 *
 * @author 00209
 * @email dz@hleast.com
 * @date 2021/04/12
 */
public interface IOrderLogService extends IService<OmsOrderLog> {

    /**
     * 添加订单操作日志记录
     * @param orderId 订单ID
     * @param orderStatus 订单状态
     * @param user 操作人员
     * @param detail 描述信息
     */
    void addOrderLogs(Long orderId, Integer orderStatus, String user, String detail);

    /**
     * 添加订单操作日志记录
     * @param orderId 订单ID
     * @param orderStatus 订单状态
     * @param detail 描述
     */
    void addOrderLogs(Long orderId, Integer orderStatus, String detail);
}

